﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using FwProject.ShoppingMall.EventAdvertising;

namespace FwProject.EventAdvertising.Dto
{
    [AutoMap(typeof(Notice))]
    public class NoticeInput
    {
        /// <summary>
        /// 公告标题
        /// </summary>
        [Required]
        [Display(Name ="公告标题")]
        public string NoticeName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        [Display(Name ="是否启用")]
        public bool IsActive { get; set; } = true;
    }
}
